//
//  OrderClosingManager.h
//  YueYueSpecailCarDriver
//
//  Created by 李亚军 on 2017/6/28.
//  Copyright © 2017年 黄旺鑫. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface OrderClosingManager : NSObject

+ (OrderClosingManager *)shareManager;

/// 正在进行中的订单id,需要在orderDetailsViewController,ongoingOrdersViewController,carEndTheTripViewController,endTheTripViewController,paymentOrderDetailsViewController这些页面中设置当前订单Uuid,并在适当的时候手动销毁也就是置为nil

/*
 * 正在进行中的订单id
 * 开启通知,如果 orderUuid 设置为 nil 会关闭通知,如果 orderUuid 不为空那么开启通知
 */
- (void)openNotificationWithOrderUuid:(NSString *)orderUuid receivedNotification:(void(^)(NSNotification *aNotification))receivedNotification;



/**
 关闭该进行中的订单,订单状态监测
 */
- (void)closeNotification;

@end
